package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;
import java.util.List;

/**
 * 孙子书院培养
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_train", desc = "孙子书院培养", autoSave = true, uploadCk = true)
public class LogGrandChildTrain extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "孙子ID")
    private String id;
    @FieldTypeAnnotation(desc = "书院类型")
    private int schoolType;
    @FieldTypeAnnotation(desc = "孙子坑位")
    private int pos;
    @FieldTypeAnnotation(desc = "消耗元气数量")
    private int useNum;
    @FieldTypeAnnotation(desc = "培养前等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "培养前天资")
    private List<Integer> oldFlairList;
    @FieldTypeAnnotation(desc = "培养前赚速")
    private String oldEarnSpeed;
    @FieldTypeAnnotation(desc = "培养后等级")
    private int newLv;
    @FieldTypeAnnotation(desc = "培养后天资")
    private List<Integer> newFlairList;
    @FieldTypeAnnotation(desc = "培养后赚速")
    private String newEarnSpeed;
    @FieldTypeAnnotation(desc = "是否出师，0未出师，1出师")
    private int graduate;

    public LogGrandChildTrain(long userId, String id, int schoolType, int pos, int useNum, int oldLv, List<Integer> oldFlairList, String oldEarnSpeed, int newLv, List<Integer> newFlairList, String newEarnSpeed, int graduate) {
        this.userId = userId;
        this.id = id;
        this.schoolType = schoolType;
        this.pos = pos;
        this.useNum = useNum;
        this.oldLv = oldLv;
        this.oldFlairList = oldFlairList;
        this.oldEarnSpeed = oldEarnSpeed;
        this.newLv = newLv;
        this.newFlairList = newFlairList;
        this.newEarnSpeed = newEarnSpeed;
        this.graduate = graduate;
    }

    public long getUserId() {
        return userId;
    }

}
